package org.example.erpapiservicespringmongoimpl.mapper;

import org.example.erpapicommon.model.TEmployee;
import org.example.erpapiservicespringmongoimpl.doc.EmployeeDoc;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import java.util.List;

@Mapper(componentModel = "spring")
public interface EmployeeMapper {

    List<TEmployee> fromDocs(List<EmployeeDoc> employees);
}
